// 复诊

<template>
  <div class="pre">
    <p>复诊</p>
    <div class="wrap">
      <div class="evaluate">
        <div class="fl">
          <img src="@/assets/image/Furtherconsultation_Defaulthead@2x.png" alt />
        </div>
        <div class="fr">
          <p>
            用户姓名
            <span class="name"></span>
            <span class="sex">男</span>
            <span class="age">30岁</span>
          </p>
          <p>
            电话 :
            <span class="phone">12345567878</span>
            <span class="history">
              <router-link to>历史诊断记录</router-link>
            </span>
            <span class="time">复诊时间</span>
            <el-date-picker v-model="value1" type="date" placeholder="选择日期"></el-date-picker>
            <el-time-select v-model="value" placeholder="选择时间" class="hour"></el-time-select>
            <el-button type="primary" @click="confirmFurtherTime">确认并发送确诊时间</el-button>
          </p>
        </div>
      </div>
      <div class="evaluate">
        <div class="fl">
          <img src="@/assets/image/Furtherconsultation_Defaulthead@2x.png" alt />
        </div>
        <div class="fr">
          <p>
            用户姓名
            <span class="name"></span>
            <span class="sex">男</span>
            <span class="age">30岁</span>
          </p>
          <p>
            电话 :
            <span class="phone">12345567878</span>
            <span class="history">
              <router-link to>历史诊断记录</router-link>
            </span>
            <span class="time">复诊时间</span>
            <el-date-picker v-model="value1" type="date" placeholder="选择日期"></el-date-picker>
            <el-time-select v-model="value" placeholder="选择时间" class="hour"></el-time-select>
            <el-button type="primary" @click="confirmFurtherTime">确认并发送确诊时间</el-button>
          </p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// 获取复诊信息
import { getOrderInfo } from "@/request/personnel";
// 确认复诊时间
import { setOrderTime } from "@/request/personnel";
export default {
  data() {
    return {
      value: "",
      value1: ""
    };
  },
  created() {
    getOrderInfo({
      token: this.$token,
      id: "1"
    }).then(res => {
      console.log(res);
    });
  },
  methods: {
    confirmFurtherTime() {
        setOrderTime({
          
        })
    }
  }
};
</script>

<style scoped>
.pre {
  margin-bottom: 120px;
  width: 1200px;
  margin: 0 auto;
  font-size: 16px;
  background: #fff;
}
.pre > p {
  font-size: 20px;
  color: #000;
  height: 70px;
  border: 1px solid #ccc;
  border-bottom: 0px;
  line-height: 70px;
  padding-left: 30px;
}
.evaluate:after {
  content: "";
  display: block;
  clear: both;
}
.wrap {
  border: 1px solid #ccc;
  padding-bottom: 30px;
  height: 694px;
}
.evaluate {
  font-size: 12px;
  margin-top: 50px;
  padding-left: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
}
.evaluate .fr {
  float: left;
  margin-top: 10px;
}
.evaluate .fr p {
  color: #555;
  font-size: 12px;
  height: 30px;
  margin-left: 30px;
}
.history,
.time {
  margin-left: 30px;
}
.history a {
  color: #4eeec8;
}
.el-date-editor.el-input.hour {
  margin-left: -110px;
}
.el-button {
  background: #4eeec8;
  border: none;
}
</style>